﻿using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Colorful.Models;
using Colorful.Database;
using System.Reflection;
using Colorful.CMS.Core.Controllers.Admin;
using Colorful.CMS.Core;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using System.Collections.Generic;
using Colorful.CMS;

namespace Colorful.Web.Controllers.Admin
{
    public class ArticleController : CMS.Core.Controllers.Admin.ArticleController
    {
        protected override ArticleModel GetModel(long mid, int? sortId, string lang)
        {
            var model =  base.GetModel(mid, sortId, lang);
            ViewData["ArticleListView"] = "_ArticleDataList";
            return model;
        }
    }
}
